package com.whmall.service.crm.module.companyuser.entity.qo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CompanyUserQO {

    private List<Long> ids;

    private Long companyId;

    private Boolean isLogout;

    private Boolean isSupplier;

    private Boolean isCustomer;

    private Boolean isLockedSale;

    private Boolean isLockedBuy;

    /** 用户名模糊查询 */
    private String usernameLike;

    /** 匹配规则，1-匹配手机，2-匹配邮箱，null-匹配手机和邮箱 */
    private Integer rule;

    private String email;

    private List<String> emails;

    private String mobile;

    private List<String> mobiles;

    private String orderBy;

}